package com.core.zyyz.amc.modules.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 功能页面配置主对象 amc_system_config_b
 *
 * @author LiuFushun
 * @date 2024-11-06
 */
public class AmcSystemConfigB extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配置主表id */
    private String baseConfigId;

    /** 业务节点 */
    @Excel(name = "业务节点")
    private String baseBusinessNode;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String baseProjectType;

    /** 是否需要资产明细 */
    @Excel(name = "是否需要资产明细")
    private String baseAssetTab;

    /** 是否按模板生成附件 */
    @Excel(name = "是否按模板生成附件")
    private String officeOnOff;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String enableOrNot;

    /** 负责人编号 */
    @Excel(name = "负责人编号")
    private String ownerId;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String ownerName;

    /** 负责人部门编号 */
    @Excel(name = "负责人部门编号")
    private String owningBusinessUnit;

    /** 负责人部门名称 */
    @Excel(name = "负责人部门名称")
    private String owningUnitName;

    /** 创建人编号 */
    @Excel(name = "创建人编号")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationDate;

    /** 最后一次修改人编号 */
    @Excel(name = "最后一次修改人编号")
    private String lastUpdatedBy;

    /** 最后一次修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后一次修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastUpdateDate;

    /** 最后登录人编号 */
    @Excel(name = "最后登录人编号")
    private String lastUpdateLogin;

    public void setBaseConfigId(String baseConfigId)
    {
        this.baseConfigId = baseConfigId;
    }

    public String getBaseConfigId()
    {
        return baseConfigId;
    }
    public void setBaseBusinessNode(String baseBusinessNode)
    {
        this.baseBusinessNode = baseBusinessNode;
    }

    public String getBaseBusinessNode()
    {
        return baseBusinessNode;
    }
    public void setBaseProjectType(String baseProjectType)
    {
        this.baseProjectType = baseProjectType;
    }

    public String getBaseProjectType()
    {
        return baseProjectType;
    }
    public void setBaseAssetTab(String baseAssetTab)
    {
        this.baseAssetTab = baseAssetTab;
    }

    public String getBaseAssetTab()
    {
        return baseAssetTab;
    }
    public void setOfficeOnOff(String officeOnOff)
    {
        this.officeOnOff = officeOnOff;
    }

    public String getOfficeOnOff()
    {
        return officeOnOff;
    }
    public void setEnableOrNot(String enableOrNot)
    {
        this.enableOrNot = enableOrNot;
    }

    public String getEnableOrNot()
    {
        return enableOrNot;
    }
    public void setOwnerId(String ownerId)
    {
        this.ownerId = ownerId;
    }

    public String getOwnerId()
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setOwningBusinessUnit(String owningBusinessUnit)
    {
        this.owningBusinessUnit = owningBusinessUnit;
    }

    public String getOwningBusinessUnit()
    {
        return owningBusinessUnit;
    }
    public void setOwningUnitName(String owningUnitName)
    {
        this.owningUnitName = owningUnitName;
    }

    public String getOwningUnitName()
    {
        return owningUnitName;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreationDate(Date creationDate)
    {
        this.creationDate = creationDate;
    }

    public Date getCreationDate()
    {
        return creationDate;
    }
    public void setLastUpdatedBy(String lastUpdatedBy)
    {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public String getLastUpdatedBy()
    {
        return lastUpdatedBy;
    }
    public void setLastUpdateDate(Date lastUpdateDate)
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate()
    {
        return lastUpdateDate;
    }
    public void setLastUpdateLogin(String lastUpdateLogin)
    {
        this.lastUpdateLogin = lastUpdateLogin;
    }

    public String getLastUpdateLogin()
    {
        return lastUpdateLogin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("baseConfigId", getBaseConfigId())
                .append("baseBusinessNode", getBaseBusinessNode())
                .append("baseProjectType", getBaseProjectType())
                .append("baseAssetTab", getBaseAssetTab())
                .append("officeOnOff", getOfficeOnOff())
                .append("enableOrNot", getEnableOrNot())
                .append("ownerId", getOwnerId())
                .append("ownerName", getOwnerName())
                .append("owningBusinessUnit", getOwningBusinessUnit())
                .append("owningUnitName", getOwningUnitName())
                .append("createdBy", getCreatedBy())
                .append("creationDate", getCreationDate())
                .append("lastUpdatedBy", getLastUpdatedBy())
                .append("lastUpdateDate", getLastUpdateDate())
                .append("lastUpdateLogin", getLastUpdateLogin())
                .toString();
    }
}
